﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Description;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Framework.ServiceModel
{
    /// <summary>
    /// Service Endpoint Configuration
    /// </summary>
    public class ServiceEndpointConfiguration : ServiceEndpoint
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ServiceEndpointConfiguration"/> class.
        /// </summary>
        /// <param name="contractDescription">The contract description.</param>
        /// <param name="configurationName">Name of the configuration.</param>
        public ServiceEndpointConfiguration(ContractDescription contractDescription, string configurationName)
            : base(contractDescription)
        {
            Name = configurationName;
        }
    }
}
